.cart {
    padding-bottom: 2rem;
    font-size: 0.3rem;
}
.cart header {
    height: 1rem;
    background-color: orange;
}

.cart header p {
    line-height: 1rem;
    text-align: center;
    font-size: 0.4rem;
    color: #fff;
}

.cart main .empty {
    width: 100%;
    height: 50vh;
    text-align: center;
    margin-top: 5rem;
}

.cart main .item {
    width: 100%;
    overflow: hidden;
}

.cart main .item .top {
    height: 0.4rem;
    padding: 0.2rem 0.2rem;
}

.cart main .item .top i {
    display: inline-block;
    width: 0.3rem;
    height: 0.3rem;
    background: url(../../assets/img/store.png) no-repeat;
    background-size: contain;
    vertical-align: middle;
}

.cart main .item .top span {
    margin-left: 0.2rem;
    color: #ccc;
}

.cart main .item .bottom {
    padding: 0 0.2rem;
    display: flex;
    width: 108vw;
    position: relative;
    transition: all 1s;
}

.left {
    left: -1rem;
}

.cart main .item .bottom .check {
    line-height: 2rem;
}

.cart main .item .bottom input[type='checkbox'].checkbox {
    opacity: 0;
    display: inline-block;
    height: 0.4rem;
    line-height: 2rem;
}

.cart main .item .bottom label.checkbox {
    background: url(../../assets/img/radio_nor.png) no-repeat;
    background-size: contain;
    height: 0.4rem;
    padding-left: 0.5rem;
}

.cart main .item .bottom input[type='checkbox'].checkbox:checked+.checkbox {
    background: url(../../assets/img/radio_hig.png) no-repeat;
    background-size: contain;
}

.cart main .item .bottom img {
    width: 2rem;
    height: 2rem;
}

.cart main .item .bottom .info {
    padding: 0 0.2rem;
}

.cart main .item .bottom .info .name {
    font-size: 0.3rem;
}

.cart main .item .bottom .info span {
    display: inline-block;
    width: 0.6rem;
    height: 0.4rem;
    border: 1px solid #ccc;
    text-align: center;
    line-height: 0.4rem;
    margin-top: 0.4rem;
}

.cart main .item .bottom .info .allPrice {
    margin-top: 0.4rem;
}

.cart main .item .bottom .price {
    margin-top: 0.2rem;
}

.cart main .item .bottom .del .am-button {
    height: 100%;
    width: 1rem;
    background-color: orange;
    border: none;
    line-height: 1;
    text-align: center;
    color: #fff;
    position: absolute;
    right: 0;
}
.cart main .item .bottom .del .am-button span{
    display: inline-block;
    height: 100%;
    line-height: 2rem;
}

.cart .cart-foot {
    height: 1rem;
    width: 100vw;
    border-top: 1px solid #ccc;
    position: fixed;
    bottom: 1rem;
    background: #fff;
    display: flex;
    justify-content: space-between;
}

.cart .cart-foot div {
    flex: 1;
    text-align: center;
    line-height: 0.5rem;
}

.cart .cart-foot input[type='checkbox'].checkAll {
    opacity: 0;
    display: inline-block;
    height: 0.4rem;
    line-height: 2rem;
}

.cart .cart-foot label.checkAll {
    background: url(../../assets/img/radio_nor.png) no-repeat;
    background-size: contain;
    height: 0.4rem;
    padding-left: 0.5rem;
}

.cart .cart-foot input[type='checkbox'].checkAll:checked+.checkAll {
    background: url(../../assets/img/radio_hig.png) no-repeat;
    background-size: contain;
}

.cart .cart-foot input[type='checkbox'].edit {
    opacity: 0;
    display: inline-block;
    height: 0.4rem;
    line-height: 2rem;
}

.cart .cart-foot label.edit {
    background: url(../../assets/img/editor_nor.png) no-repeat;
    background-size: contain;
    height: 0.4rem;
    padding-left: 0.5rem;
}

.cart .cart-foot input[type='checkbox'].edit:checked+.edit {
    background: url(../../assets/img/editor_hig.png) no-repeat;
    background-size: contain;
}
.cart .cart-foot .allCount{
    white-space: nowrap;
}

.cart .cart-foot .compute {
    border: none;
    width: 100%;
    height: 100%;
    background: orange;
    color: #fff;
}